// This file is part of Indico.
// Copyright (C) 2002 - 2025 CERN
//
// Indico is free software; you can redistribute it and/or
// modify it under the terms of the MIT License; see the
// LICENSE file for more details.

@use 'base/palette' as *;

:global(.ui.button).submit-button {
  margin-top: 15px;
}

:global(.ui.list).fav-list {
  :global(.item).fav-item {
    margin: 0 -10px;

    .list-flex {
      display: flex;
      justify-content: start;
      margin: 7px 0;
    }

    .detail {
      margin-top: 7px;
      width: 350px;
      display: inline-block;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      color: $dark-gray;
    }

    .delete-button {
      align-self: center;
      margin-left: auto;
    }
  }
}

.empty-favorites {
  margin: 5px;
}

:global(.ui.inline.loader.active).fav-loader {
  margin: 10px 50%;
  width: auto;
}

.favorite-event-container {
  margin-top: 15px;
}

.date-span {
  width: 15%;
  margin-right: 7px;
  font-size: 12px;
  color: $dark-gray;
}

.event-name-box {
  width: 75%;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;

  a {
    margin-right: 5px;
  }
}
